[INFO] cloning repository https://github.com/kuroneko1996/rusty_roguelike
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kuroneko1996/rusty_roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkuroneko1996%2Frusty_roguelike", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkuroneko1996%2Frusty_roguelike'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6e8e88d9f673234d5c977103512c63212fa8b8ad
[INFO] building kuroneko1996/rusty_roguelike against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkuroneko1996%2Frusty_roguelike" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kuroneko1996/rusty_roguelike on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kuroneko1996/rusty_roguelike
[INFO] finished tweaking git repo https://github.com/kuroneko1996/rusty_roguelike
[INFO] tweaked toml for git repo https://github.com/kuroneko1996/rusty_roguelike written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/kuroneko1996/rusty_roguelike already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a04f214b9e6ddb5384eba5d62f90388a54bd8dfe903d090543358ffd7c3bdac4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a04f214b9e6ddb5384eba5d62f90388a54bd8dfe903d090543358ffd7c3bdac4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a04f214b9e6ddb5384eba5d62f90388a54bd8dfe903d090543358ffd7c3bdac4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a04f214b9e6ddb5384eba5d62f90388a54bd8dfe903d090543358ffd7c3bdac4", kill_on_drop: false }`
[INFO] [stdout] a04f214b9e6ddb5384eba5d62f90388a54bd8dfe903d090543358ffd7c3bdac4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ec10bf5e581530f19871147a3bd8f8fcb066f0b95149250c79df59873771ef5c
[INFO] running `Command { std: "docker" "start" "-a" "ec10bf5e581530f19871147a3bd8f8fcb066f0b95149250c79df59873771ef5c", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.8
[INFO] [stderr]    Compiling gcc v0.3.38
[INFO] [stderr]    Compiling libc v0.2.17
[INFO] [stderr]    Compiling lazy_static v0.1.16
[INFO] [stderr]    Compiling rustc-serialize v0.3.19
[INFO] [stderr]    Compiling bitflags v0.1.1
[INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45
[INFO] [stdout]     |
[INFO] [stdout] 147 | ...                   &f_name: &str,
[INFO] [stdout]     |                       ^^^^^^^ pattern not allowed in function without body
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand v0.3.14
[INFO] [stderr]    Compiling tcod-sys v4.0.1
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0642`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-serialize`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: libtcod/src/zlib/gzlib.c: In function 'gz_open':
[INFO] [stderr] warning: libtcod/src/zlib/gzlib.c:14:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning:    14 | #  define LSEEK lseek
[INFO] [stderr] warning:       |                 ^~~~~
[INFO] [stderr] warning: libtcod/src/zlib/gzlib.c:250:24: note: in expansion of macro 'LSEEK'
[INFO] [stderr] warning:   250 |         state->start = LSEEK(state->fd, 0, SEEK_CUR);
[INFO] [stderr] warning:       |                        ^~~~~
[INFO] [stderr] warning: libtcod/src/zlib/gzread.c: In function 'gz_load':
[INFO] [stderr] warning: libtcod/src/zlib/gzread.c:30:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning:    30 |         ret = read(state->fd, buf + *have, len - *have);
[INFO] [stderr] warning:       |               ^~~~
[INFO] [stderr] warning:       |               fread
[INFO] [stderr] warning: libtcod/src/zlib/gzread.c: In function 'gzclose_r':
[INFO] [stderr] warning: libtcod/src/zlib/gzread.c:586:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning:   586 |     ret = close(state->fd);
[INFO] [stderr] warning:       |           ^~~~~
[INFO] [stderr] warning:       |           pclose
[INFO] [stderr] warning: libtcod/src/zlib/gzwrite.c: In function 'gz_comp':
[INFO] [stderr] warning: libtcod/src/zlib/gzwrite.c:84:15: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning:    84 |         got = write(state->fd, strm->next_in, strm->avail_in);
[INFO] [stderr] warning:       |               ^~~~~
[INFO] [stderr] warning:       |               fwrite
[INFO] [stderr] warning: libtcod/src/zlib/gzwrite.c: In function 'gzclose_w':
[INFO] [stderr] warning: libtcod/src/zlib/gzwrite.c:561:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning:   561 |     if (close(state->fd) == -1)
[INFO] [stderr] warning:       |         ^~~~~
[INFO] [stderr] warning:       |         pclose
[INFO] [stderr] warning: libtcod/src/parser_c.c: In function 'TCOD_parser_error':
[INFO] [stderr] warning: libtcod/src/parser_c.c:89:38: warning: '%s' directive writing up to 2047 bytes into a region of size 2029 [-Wformat-overflow=]
[INFO] [stderr] warning:    89 |  sprintf(buf2,"error in %s line %d : %s",lex->filename,lex->file_line,buf);
[INFO] [stderr] warning:       |                                      ^~                               ~~~
[INFO] [stderr] warning: libtcod/src/parser_c.c:89:2: note: 'sprintf' output 20 or more bytes (assuming 2067) into a destination of size 2048
[INFO] [stderr] warning:    89 |  sprintf(buf2,"error in %s line %d : %s",lex->filename,lex->file_line,buf);
[INFO] [stderr] warning:       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libtcod/src/parser_c.c: In function 'default_new_flag':
[INFO] [stderr] warning: libtcod/src/parser_c.c:781:20: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
[INFO] [stderr] warning:   781 |  sprintf(tmp,"%s.%s",cur_prop_name,name);
[INFO] [stderr] warning:       |                    ^
[INFO] [stderr] warning: libtcod/src/parser_c.c:781:2: note: 'sprintf' output 2 or more bytes (assuming 513) into a destination of size 512
[INFO] [stderr] warning:   781 |  sprintf(tmp,"%s.%s",cur_prop_name,name);
[INFO] [stderr] warning:       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libtcod/src/parser_c.c: In function 'default_new_property':
[INFO] [stderr] warning: libtcod/src/parser_c.c:792:20: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
[INFO] [stderr] warning:   792 |  sprintf(tmp,"%s.%s",cur_prop_name,propname);
[INFO] [stderr] warning:       |                    ^
[INFO] [stderr] warning: libtcod/src/parser_c.c:792:2: note: 'sprintf' output 2 or more bytes (assuming 513) into a destination of size 512
[INFO] [stderr] warning:   792 |  sprintf(tmp,"%s.%s",cur_prop_name,propname);
[INFO] [stderr] warning:       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libtcod/src/sys_c.c: In function 'TCOD_sys_get_directory_content':
[INFO] [stderr] warning: libtcod/src/sys_c.c:159:25: warning: passing argument 2 of 'TCOD_list_push' makes pointer from integer without a cast [-Wint-conversion]
[INFO] [stderr] warning:   159 |     TCOD_list_push(list,strdup(dirent->d_name));
[INFO] [stderr] warning:       |                         ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning:       |                         |
[INFO] [stderr] warning:       |                         int
[INFO] [stderr] warning: In file included from libtcod/include/libtcod.h:178,
[INFO] [stderr] warning:                  from libtcod/src/sys_c.c:41:
[INFO] [stderr] warning: libtcod/include/list.h:37:61: note: expected 'const void *' but argument is of type 'int'
[INFO] [stderr] warning:    37 | TCODLIB_API void TCOD_list_push(TCOD_list_t l, const void * elt);
[INFO] [stderr] warning:       |                                                ~~~~~~~~~~~~~^~~
[INFO] [stderr] warning: libtcod/src/sys_c.c: In function 'TCOD_sys_clipboard_get':
[INFO] [stderr] warning: libtcod/src/sys_c.c:645:12: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
[INFO] [stderr] warning:   645 |  char *ret=strdup(xbuf);
[INFO] [stderr] warning:       |            ^~~~~~
[INFO] [stderr] warning: libtcod/src/sys_opengl_c.c:35:10: fatal error: SDL/SDL.h: No such file or directory
[INFO] [stderr] warning:    35 | #include <SDL/SDL.h>
[INFO] [stderr] warning:       |          ^~~~~~~~~~~
[INFO] [stderr] warning: compilation terminated.
[INFO] [stderr] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "ec10bf5e581530f19871147a3bd8f8fcb066f0b95149250c79df59873771ef5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec10bf5e581530f19871147a3bd8f8fcb066f0b95149250c79df59873771ef5c", kill_on_drop: false }`
[INFO] [stdout] ec10bf5e581530f19871147a3bd8f8fcb066f0b95149250c79df59873771ef5c
